<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  created () {
    // 判断本地是否缓存账号登录
    if (localStorage.getItem('FOREST_TOKEN')) {
      this.$store.state.isLogin = true
    }
  }
}
</script>

<style>
@import "assets/css/style.css";
</style>
